package com.bean;

public class GoodsBean {


    private Integer prodid;
    private String prodname;
    private Integer shopid;//店铺id
    private Double oriprice;//原价
    private Double price;//现价
    private String brief;//简要描述,卖点等'
    private String content;//详细描述
    private String pic;//商品主图
    private String imgs;//商品图片，以,分割
    private Integer status;//默认是1，表示正常状态, -1表示删除, 0下架
    private Integer categoryid;//商品分类
    private Integer soldnum;//销量
    private Integer totalstocks;//总库存


    public GoodsBean() {
    }

    public GoodsBean(Integer prodid, String prodname, Integer shopid, Double oriprice, Double price, String brief, String content, String pic, String imgs, Integer status, Integer categoryid, Integer soldnum, Integer totalstocks) {
        this.prodid = prodid;
        this.prodname = prodname;
        this.shopid = shopid;
        this.oriprice = oriprice;
        this.price = price;
        this.brief = brief;
        this.content = content;
        this.pic = pic;
        this.imgs = imgs;
        this.status = status;
        this.categoryid = categoryid;
        this.soldnum = soldnum;
        this.totalstocks = totalstocks;
    }

    public Integer getProdid() {
        return prodid;
    }

    public void setProdid(Integer prodid) {
        this.prodid = prodid;
    }

    public String getProdname() {
        return prodname;
    }

    public void setProdname(String prodname) {
        this.prodname = prodname;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public Double getOriprice() {
        return oriprice;
    }

    public void setOriprice(Double oriprice) {
        this.oriprice = oriprice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public Integer getSoldnum() {
        return soldnum;
    }

    public void setSoldnum(Integer soldnum) {
        this.soldnum = soldnum;
    }

    public Integer getTotalstocks() {
        return totalstocks;
    }

    public void setTotalstocks(Integer totalstocks) {
        this.totalstocks = totalstocks;
    }
}
